package com.rtmart.springcloudalibaba.user.service.impl;

import com.rtmart.springcloudalibaba.common.domain.User;
import com.rtmart.springcloudalibaba.user.mapper.UserMapper;
import com.rtmart.springcloudalibaba.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public User findOneById(Long id) {
        return userMapper.findOneById(id);
    }
}
